export interface SensorRoleTableColumns {    
    id:number;  // 序号    
    imei:string;  // imei    
    roleId:number;  // 角色id    
    linkedSensorRoleSensors:LinkedSensorRoleSensors;    
    linkedSensorRoleSysRole:LinkedSensorRoleSysRole;    
}


export interface SensorRoleInfoData {    
    id:number|undefined;        // 序号    
    imei:string|undefined; // imei    
    linkedImei:LinkedSensorRoleSensors; // imei    
    roleId:number|undefined; // 角色id    
    linkedRoleId:LinkedSensorRoleSysRole; // 角色id    
    linkedSensorRoleSensors:LinkedSensorRoleSensors;    
    linkedSensorRoleSysRole:LinkedSensorRoleSysRole;    
}


export interface LinkedSensorRoleSensors {	
    imei:string|undefined;    // imei	
    name:string|undefined;    // 名称	
}


export interface LinkedSensorRoleSysRole {	
    id:number|undefined;    //	
    name:string|undefined;    // 角色名称	
}


export interface SensorRoleTableDataState {
    ids:any[];
    tableData: {
        data: Array<SensorRoleTableColumns>;
        total: number;
        loading: boolean;
        param: {
            pageNum: number;
            pageSize: number;            
            id: number|undefined;            
            imei: string|undefined;            
            roleId: number|undefined;            
            dateRange: string[];
        };
    };
}


export interface SensorRoleEditState{
    loading:boolean;
    isShowDialog: boolean;
    formData:SensorRoleInfoData;
    rules: object;
}